package Demo1;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();

        computer.usbService(mouse);
        computer.usbService(keyboard);
        computer.powerOff();
    }
}
